// JavaScript Document
$(function(){
	$("#respTables .del").livequery('click', function(event){  
        $(this).parents(".repeat").remove(); 
return false; 
    }); 


	$("#respTables .add").livequery('click', function(event){


var thisTR = $('<tr class="repeat"><td><select id="fault_site" name="fault_site"><option>请选择..</option><option value="0">国际站</option><option value="1">中文站</option>	<option value="2">国际交易</option></select></td><td colspan="2"><select id="fault_prod" name="fault_prod" >	<option>请选择..</option>	<option value="0">收费-P4P</option>	<option value="1">收费-邮件会员</option></select></td><td><input type="text" id="fault_person" name="fault_person" class="the_text" style="width:60px;" value="" /></td><td><select id="fault_role" name="fault_role">	<option>请选择..</option>	<option>开发</option>	<option>测试</option><option>UED</option><option>OPS</option> <option>SCM</option></select></td><td><input type="text" id="fault_manager" name="fault_manager" class="the_text" style="width:60px;" value="" /></td><td><input type="text" id="fault_percent" name="fault_percent" class="the_text" style="width:40px;" value="" /></td><td align="center"><img src="casestudy/images/16add.jpg" align="absmiddle" title="add" class="add"> <img src="casestudy/images/16del.jpg" align="absmiddle" title="del"  class="del" style="display:none"></td></tr>');


//tr
thisTR.appendTo($('#respTables')); 
$(this).next().show(); 
$(this).remove();
return false; 
    });  	
});